import Implementer
import template
def main(text:str):
    s=template.FRONT
    l=text.split('\n')
    for i in l:
        s+=Implementer.explain(i).get_html()
    s+=template.BEHIND
    return s
def fmain(f:str):
    file=open(f,"r")
    return main(file.read())
